#ifndef __TERRAINTEXTURELIST_H__
#define __TERRAINTEXTURELIST_H__


#include <stl/string.h>
#include <stl/map.h>
#include <standard/reference.h>
#include <standard/texture.h>

class CTerrainTextureList: public CRefObject{
public:
    CTerrainTextureList();
    virtual ~CTerrainTextureList();
    void Init( const char* strResourceSpace );
    CTexture* GetTextureFile( const char* strFileName );
    const char* GetTextureName( CTexture* pTexture );

private:
    const char* m_strResourceSpace;
    map<uint32, CTexture*> m_vTextureList;
    map<CTexture*, string32 > m_vTextureNameList;

};

#endif
